/**
 * @author Fang Lu, fanglupku@gmail.com
 * 2011-6-9
 */
package com.autotag.train;

public class TrainTerm implements Comparable<TrainTerm>{
	private int id;
	private int count;
	private int level;
	private double weight;
	private String content;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public double getWeight() {
		return weight;
	}
	public void setWeight(double weight) {
		this.weight = weight;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int compareTo(TrainTerm o) {
		return this.id - o.id;
	}
	
}
